var events=require('events');
// var util=require("util")
var Emitter=events.EventEmitter;


function Radio(radioName){
    Emitter.call(this);
    this.radioName=radioName;
}

// util.inherits(Radio,Emitter)


Radio.prototype=Emitter.prototype;
Radio.prototype.start=function(){
    console.log(this.radioName+"start to listen")
}
Radio.prototype.stop=function(){
    console.log(this.radioName+"stop to listen")
}

module.exports=Radio;